package org.example.demo3.common.properties;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class JwtProperties {
        //密钥
    private String adminSecretKey="zyy";
        //留存时间
    private long adminTtl=720000;
        //令牌的名字
    private String adminTokenName="token";
}
